// pages/user/userCenter/comps/userLegal/userLegal.js
Component({
    /**
     * 组件的属性列表
     */
    properties: {
        userInfo: Object
    },

    /**
     * 组件的初始数据
     */
    data: {

    },

    /**
     * 组件的方法列表
     */
    methods: {
        goTeamData: function() {
            wx.navigateTo({
                url: '/pages/user/team/teamData/teamData'
            })
        },
        goShopkeeperGifts: function() {
            wx.navigateTo({
                url: '/pages/goods/shopKeeperGifts/shopKeeperGifts'
            })
        },
        goRules: function() {
            wx.navigateTo({
                url: '/pages/staticPages/freeGetRules/freeGetRules'
            })
        }
    }
})